#ifndef PROPERTY_EDITOR
#define PROPERTY_EDITOR

#include <QWidget>
#include <qttreepropertybrowser.h>
#include <qtvariantproperty.h>
class PropertyEditor : public QWidget
{
public:
	PropertyEditor(QWidget *parent = 0);
	virtual ~PropertyEditor();
	QtTreePropertyBrowser* getTreePropertyBrowser();
	QtVariantPropertyManager* getPropertyManager();
    QtVariantPropertyManager* getPropertyManagerReadOnly();
	void clear();

private:
	QtTreePropertyBrowser* m_treeBrowser;
	QtVariantPropertyManager* m_variantManager;
    QtVariantPropertyManager* m_variantManagerReadOnly;
};

#endif // PROPERTY_EDITOR
